﻿using System;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            string s = "aaabcccdeee";
            string[] array = s.Split(new char[] {'b','d' });
            foreach(string i in array)
            {
                Console.WriteLine(i.ToString());
            }
            string s1 = "MinxiAvocationalB&CtechnologyDshool";
            string []array1 = s1.Split(new char[] { 'A', 'B', 'C', 'D' });

            foreach(string j in array1)
            {
                Console.WriteLine(j.ToString());
            }

        }
    }
}
